<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
<c:import url="/WEB-INF/jsp/plugin/loading.jsp" />
<script type="text/javascript" src="static/js/login.js"></script>
<script>
	// 防止当前没处于顶层框架
	if (window.top != window) {
		window.top.location.href = document.location.href;
	}
	
	$(function() {
		$("#login").css({
		    opacity: 1,
			transform: "scale(1)",
			transition: "0.5s"
		});
	});
</script>
</head>
<body class="default-theme bg-gray">
	<div class="container">
		<div id="login" class="text-center block-shadow">
			<form id="login-form" class="text-left required-validate"
				action="system/login" method="post">
				<div class="form-group">
					<h1>登录</h1>
				</div>
				<div class="form-group">
					<label for="account">登录账号</label> <input type="text" name="account"
						class="form-control" />
				</div>
				<div class="form-group">
					<label for="password">密码</label> <input type="password"
						name="password" class="form-control" autocomplete="off" />
				</div>
				<c:if test="${null != msg }">
					<div class="alert alert-danger">${msg }</div>
				</c:if>
				<div class="checkbox">
					<label> <input type="checkbox" name="remember" /> 记住我
					</label>
				</div>
				<div class="form-group">
					<button id="login-submit" type="submit"
						class="btn btn-primary btn-block">登录</button>
					<!--  暂时不需要注册
					<a href="system/register" class="btn btn-default btn-block">注册</a>
					-->
				</div>
			</form>
		</div>
	</div>
</body>
</html>